from com import log,mail
import pytest

if __name__ == '__main__':
    log()
    pytest.main(['./', '-s', '--html=baogao.html'])
    mail(['log.txt','baogao.html'])